package com.woniuxy.credit_loans.accounting_shi.service.impl;

import com.woniuxy.credit_loans.accounting_shi.service.PipelineService;
import com.woniuxy.credit_loans.entity.Pipeline;
import com.woniuxy.credit_loans.mapper.PipelineMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class PipelineServiceImpl implements PipelineService {
    @Resource
    private PipelineMapper pipelineMapper;
    @Override
    public List<Pipeline> selectAll() {
        return pipelineMapper.selectAll();
    }

    @Override
    public int insertSelective(Pipeline record) {
        return pipelineMapper.insertSelective(record);
    }
}
